﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;

namespace nplJobsWebSite
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254726
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/WebFormsJs").Include(
                  "~/Scripts/WebForms/WebForms.js",
                  "~/Scripts/WebForms/WebUIValidation.js",
                  "~/Scripts/WebForms/MenuStandards.js",
                  "~/Scripts/WebForms/Focus.js",
                  "~/Scripts/WebForms/GridView.js",
                  "~/Scripts/WebForms/DetailsView.js",
                  "~/Scripts/WebForms/TreeView.js",
                  "~/Scripts/WebForms/WebParts.js"));

            bundles.Add(new ScriptBundle("~/bundles/MsAjaxJs").Include(
                "~/Scripts/WebForms/MsAjax/MicrosoftAjax.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxApplicationServices.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxTimer.js",
                "~/Scripts/WebForms/MsAjax/MicrosoftAjaxWebForms.js"));


            bundles.Add(new StyleBundle("~/bundles/Styles").Include(
                                        "~/css/npljobs.css",
                                        "~/css/style-old.css",
                                        "~/css/hover.css",
                                        "~/css/jquery-ui.css",
                                        "~/css/AdditionalStyles.css",
                                        "~/css/PasswordStrength.css"
                                        ));

            bundles.Add(new ScriptBundle("~/bundles/Scripts").Include(
                                        "~/Scripts/jquery-1.7.1.js",
                                        "~/Scripts/jquery-ui-1.8.20.js",
                                        "~/Scripts/jquery.hashchange.js",
                                        "~/Scripts/jquery.easytabs.js",
                                        "~/Scripts/jquery-ui.js",
                                        "~/Scripts/jquery.validate.js",
                                        "~/Scripts/CommonJS.js",
                                        "~/Scripts/JobSeekerLanguageValidation.js",
                                        //"~/Scripts/JobSeekerPhotoUpload.js",
                                        //"~/Scripts/JobSeekerResumeUpload.js",
                                        "~/Scripts/JobSeekerQualification.js",
                                        "~/Scripts/JobseekerResizeElements.js"
                                        ));

            bundles.Add(new ScriptBundle("~/bundles/AdditionalScripts").Include(
                                          "~/js/AdditionalScripts.js"
                                        ));

            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                "~/Scripts/jquery-{version}.js"));


            bundles.Add(new StyleBundle("~/EmployeerStyles").Include(
                                        "~/css/Employeer.css",
                                        "~/css/PostedJobsStyle.css",
                                        "~/css/hover.css",
                                        "~/css/jquery.tagit.css",
                                        "~/css/tagit.ui-zendesk.css",
                                        "~/css/jquery-ui.min.css",
                                        "~/css/footer.css",
                                        "~/css/PasswordStrength.css"
                                        ));
            bundles.Add(new StyleBundle("~/EmployeerSearchStyles").Include(
                                        "~/css/style-old.css",
                                        "~/css/hover.css",
                                        "~/css/Employeer.css",
                                        "~/css/footer.css",
                                        "~/css/jquery-ui.min.css"
                                        ));

            bundles.Add(new ScriptBundle("~/EmployeerScripts").Include(
                                        "~/Scripts/jquery-1.10.2.min.js",
                                        "~/Scripts/jquery-migrate-git.min.js",
                                        "~/Scripts/bootstrap.min.js",
                                        "~/Scripts/jquery-ui.min.js",
                                        "~/Scripts/jquery.validate.js",
                                        "~/Scripts/CommonJS.js",
                                        "~/Scripts/tag-it.js",
                                        "~/Scripts/jsMenuSelector.js"
                                        ));

            bundles.Add(new StyleBundle("~/EmployeerTabStyles").Include(
                                        "~/css/Tabs.css",
                                        "~/css/tabstyles.css"
                                        ));

            bundles.Add(new StyleBundle("~/SearchCV").Include(
                                        "~/css/searchCV.css"
                                        ));


            bundles.Add(new StyleBundle("~/JobSiteStyles").Include(
                                        "~/css/PasswordStrength.css",
                                        "~/Content/Site.css",
                                        "~/css/hover.css",
                                        "~/css/header.css",
                                        "~/css/Logintab.css",
                                        "~/css/jquery.tagit.css",
                                        "~/css/tagit.ui-zendesk.css",
                                        "~/css/FullGridPagerNVS.css",
                                        "~/css/footer.css",
                                        "~/css/Tabs.css",
                                        "~/css/tabstyles.css",
                                        "~/css/jquery-ui.min.css"
                                        ));
            bundles.Add(new ScriptBundle("~/JobSiteScripts").Include(
                                        "~/Scripts/jquery-1.10.2.min.js",
                                        "~/Scripts/date.js",
                                        "~/Scripts/jquery-ui.min.js",
                                        "~/Scripts/jquery.validate.js",
                                        "~/Scripts/modernizr.js",
                                        "~/Scripts/bootstrap.min.js"
                                        ));

            bundles.Add(new StyleBundle("~/DefaultStyles").Include(
                                        "~/css/style.css"
                                        ));

            bundles.Add(new StyleBundle("~/JobDetailsStyles").Include(
                                        "~/css/JobDetails.css"
                                        ));
            bundles.Add(new ScriptBundle("~/JobDetailsScripts").Include(
                                        "~/Scripts/jquery-1.7.1.min.js",
                                        "~/Scripts/CommonJS.js"
                                        ));

            bundles.Add(new StyleBundle("~/CategoryWiseJobSearch").Include(
                                        "~/css/CategoryWiseJobSearch.css"
                                        ));

            // Use the Development version of Modernizr to develop with and learn from. Then, when you’re
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need
            //bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
            //    "~/Scripts/modernizr-*"));

            BundleTable.EnableOptimizations = true;
        }
    }
}

